About 781 letters

About 4 minutes

#HTML <colgroup>

The <colgroup> HTML element defines a group of columns within a table.

#Attributes

  • span: Specifies the number of consecutive columns the <colgroup> element spans. The value must be a positive integer greater than zero. If not present, its default value is 1.

    Note: The span attribute is not permitted if there are one or more <col> elements within the <colgroup>.

Created in 6/9/2025

Updated in 6/9/2025